<% form_for @ltft do |f| %>
<table id="forum_main" cellspacing="1">
    <thead>
      <tr>
        <td colspan="2">发表主题</td>
      </tr>
    </thead>
    <tbody>
      <tr><td class="row1">主题</td><td class="row2"><input title="" class="text required min-length-3 bad-words validation-failed" id="topic_title" maxlength="50" name="ltft[zt]" size="45" style="width: 450px;" type="text"></td></tr>

<tr>
  <td class="row1">标签 <span style="color: red; margin-left: 5px; font-weight: normal;">(请选择或填写标签) </span></td>
  <td class="row2">
    <select id="topic_sys_tag_id" name="ltft[flmc]"><option value="" selected="selected">--请选择--</option>
      <%for fl in @ltfls%>        
        <option value="<%=fl.flmc%>"><%=fl.flmc%></option>
      <%end%>
    </select> 
    <input class="text validate-combobox-topic_sys_tag_id" id="topic_user_tags" maxlength="60" name="ltft[user_fl]" size="45" style="width: 250px;" type="text">
    公告：<input type="checkbox" name="ltft[xtfl]" value="1" />
  </td>
</tr>

      <tr>
        <td colspan="2" class="row3">

<%= fckeditor_textarea("ltft", "nr", :toolbarSet => 'Simple', :width => '100%', :height => '200px') %>

        </td>
      </tr>
      
      <tr>
        <td class="row1">附件</td>
        <td class="row2"><ul>
  <li>上传文件请压缩后再上传，允许zip, rar, gz, tar, bz2, jar, war格式的压缩文件</li>
  <li>上传图片请使用JPG, JPEG, GIF, BMP, PNG格式</li>

  <li>最多上传三个附件, 单个文件大小不能超过5MB，附件总的大小不能超过10MB</li>
</ul>          
<input id="attachment_upload" type="file">
	 
<script type="text/javascript">
  var multiple_upload_attachment_counter = 0;
  multiple_upload_attachment($("attachment_upload"), 3);
</script></td>
      </tr>
      <tr>
        <td colspan="2" class="row4" align="center"><input class="submit" id="submit_button" name="commit" value="提交" type="submit"></td>
      </tr>
    </tbody>

  </table>
<%end%>